﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;              //命名空间
using System.Data.SqlClient;    //数据库头文件
using System.Data.Sql;         //数据库头文件
using DATA_operate_;          //自定义数据库操作类引用


public partial class design_page_teacher_Default : System.Web.UI.Page
{

    DATA_operate data_operate_in_myinfo = new DATA_operate();   //创建数据库操作类对象
   

    protected void Page_Load(object sender, EventArgs e)
    {


        if (!IsPostBack)
        {
            string content = data_operate_in_myinfo.dataread("_public_notice", "_notice_content", "_Is_use", "使用中");   //获得数据库最大作业ID 号
            Label3.Text = content;
        }
     
    }
}